package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Order;
import cn.wolfcode.crm.query.ProductQueryObejct;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper {


    Order selectByPrimaryKey(Long id);

    List<Order> selectAll();

    // 高级查询
    List<Order> queryForList(ProductQueryObejct qo);

    int queryForCount(ProductQueryObejct qo);

    void insertRelation(@Param("id") Long id, @Param("id1") Long id1, @Param("remark") String remark, @Param("status") int status);
}